package graph.directedgraph.orthogonallist;

public class OrthEdgeNode {
    private int tailVex;
    private int headVex;
    private OrthEdgeNode headLink;
    private OrthEdgeNode tailLink;

    public OrthEdgeNode() {
    }

    public OrthEdgeNode(int tailVex, int headVex, OrthEdgeNode headLink, OrthEdgeNode tailLink) {
        this.tailVex = tailVex;
        this.headVex = headVex;
        this.headLink = headLink;
        this.tailLink = tailLink;
    }

    public int getTailVex() {
        return tailVex;
    }

    public void setTailVex(int tailVex) {
        this.tailVex = tailVex;
    }

    public int getHeadVex() {
        return headVex;
    }

    public void setHeadVex(int headVex) {
        this.headVex = headVex;
    }

    public OrthEdgeNode getHeadLink() {
        return headLink;
    }

    public void setHeadLink(OrthEdgeNode headLink) {
        this.headLink = headLink;
    }

    public OrthEdgeNode getTailLink() {
        return tailLink;
    }

    public void setTailLink(OrthEdgeNode tailLink) {
        this.tailLink = tailLink;
    }
}
